﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    /// <summary>
    /// 存折
    /// </summary>
    public class BankBook
    {
        public int ID { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int AID { get; set; }
        /// <summary>
        /// 账户ID
        /// </summary>
        public int CardID { get; set; }
        /// <summary>
        /// 资金账户
        /// </summary>
        public Card Card { get; set; }
        /// <summary>
        /// 利率
        /// </summary>
        public float Rate { get; set; }
        /// <summary>
        /// 本金
        /// </summary>
        public decimal Capital { get; set; }
        /// <summary>
        /// 周期
        /// </summary>
        public int Cycle { get; set; }
        /// <summary>
        /// 到期本金和
        /// </summary>
        public decimal Total { get; set; }
        /// <summary>
        /// 存款时间
        /// </summary>
        public DateTime SaveTime { get; set; }

    }
}
